package model

import "time"

type HospitalizationDetail struct {
	ID                  uint   `gorm:"primaryKey"`
	HospitalCode        string `gorm:"size:255;index"`
	InpatientNo         string `gorm:"size:255"`
	InDate              time.Time
	HospitalizationDay  int
	Name                string `gorm:"size:20"`
	YbDeptCode          string `gorm:"size:50"`
	DoctorCode          string `gorm:"size:255"`
	DeptCode            string `gorm:"size:255"`
	ProjectType         int
	ProjectName         string  `gorm:"size:255"`
	ProjectCode         string  `gorm:"size:255"`
	ProjectCost         float64 `gorm:"type:decimal(10,2)"`
	BillDate            time.Time
	OutDate             time.Time
	InHospitalTotalDays int
	ProjectOneCost      float64 `gorm:"type:decimal(10,2)"`
	ProjectCount        float64 `gorm:"type:decimal(10,2)"`
	ProjectUnit         string  `gorm:"size:50"`
	CreateTime          time.Time
	CreateUser          uint
	UpdateTime          time.Time
	UpdateUser          uint
}
